import request from '@/utils/request'

export const getAddressList = (data: any) => {
  return request({
    url: '/supplier/address/list',
    method: 'get',
    params: data,
  })
}

export const getDefaultAddress = (data: any) => {
  return request({
    url: '/supplier/address/getDefault',
    method: 'post',
    params: data,
  })
}
